﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;



using FXnaInfrastructure;
using FXnaGis;


namespace ASCore
{
    [Serializable]
    public class GridReceptor : FComposeShape
    {


        public GridReceptor(string id, FGrid grid)
            : base(id)
        {

            this._innerShape = new FGridShape(id, grid);

            this._contribueValue = new double[grid.NX - 1, grid.NY - 1];

            this._backValue = new double[grid.NX - 1, grid.NY - 1];



        }




        public new FGridShape InnerShape
        {
            get
            {
                return base.InnerShape as FGridShape;
            }
            set
            {
                base.InnerShape = value;
            }
        }



        double _height = 1.2;


        /// <summary>
        /// 离地高度
        /// </summary>
        public double Height
        {
            get { return _height; }
            set { _height = value; }
        }





        double[,] _contribueValue;

        public double[,] ContribueValue
        {
            get { return _contribueValue; }

        }



        double[,] _backValue;






    }


}
